package com.esun.common.constant;

public class Constants {
    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 令牌
     */
    public static final String TOKEN = "token";

    /**
     * 令牌自定义标识
     */
    public static final String TOKEN_HEADER = "Authorization";
    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 令牌前缀
     */
    public static final String LOGIN_USER_KEY = "login_user_key";

    /**
     * DES加解密密钥
     */
    public static final String DES_SECRET = "esun@esrp";

    /**
     * 获取 accessToken 的请求地址
     * 参数1: APPID
     * 参数2: APPSECRET
     */
    public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

    /**
     * 发送模版信息的url
     * 参数1: ACCESS_TOKEN
     */
    public static final String SEND_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN";

    /**
     * e财管理公众号的APP_ID
     */
    public static final String APP_ID = "wx7c45997202bf1173";

    /**
     * e财管理公众号的APP_SECRET
     */
    public static final String APP_SECRET = "39e4f901de6a528303b80b7049d364a5";

    /**
     * e财管理公众号的模板消息ID
     */
    public static final String TEMPLATE_ID = "maHOVfKLsjGZMyIwgaI4TkO95S9UrXJ9v0WIANr-5uQ";

    /**
     * 小程序的APP_ID
     */
    public static final String XCX_APP_ID = "wx77ba6c7a5e440bb5";

    /**
     * 小程序密钥AppSecret
     */
    public static final String XCX_APP_SECRET = "385b54f836d9feee8330aa1d83306414";

}
